/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package karel.lang;

import org.junit.*;
import org.junit.Assert;

/**
 *
 * @author Gummi
 */
public class RDParserTestPositive extends RDParserTest {
    
    @Before
    public void setUpClass() throws Exception {
        inoutFolder = "RDParserTestPositive";
    }

    @Test
    public void positive_EOF() throws Exception {
        String testname = "EOF";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_NL() throws Exception {
        String testname = "NL";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_fundecl_noPara() throws Exception {
        String testname = "fundecl_noPara";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_fundecl_noPara_return() throws Exception {
        String testname = "fundecl_noPara_return";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_fundecl_withPara1() throws Exception {
        String testname = "fundecl_withPara1";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_fundecl_withPara2() throws Exception {
        String testname = "fundecl_withPara2";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_varassign_literal() throws Exception {
        String testname = "varassign_literal";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_vardecl_literal() throws Exception {
        String testname = "vardecl_literal";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_vardecl_simpleExpr() throws Exception {
        String testname = "vardecl_simpleExpr";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_vardecl_varOrFunc_var() throws Exception {
        String testname = "vardecl_varOrFunc_var";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_vardecl_varOrFunc_func() throws Exception {
        String testname = "vardecl_varOrFunc_func";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_ifstatement_1() throws Exception {
        String testname = "ifstatement_1";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_ifstatement_2() throws Exception {
        String testname = "ifstatement_2";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_ifstatement_3() throws Exception {
        String testname = "ifstatement_3";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_while() throws Exception {
        String testname = "while";
        parseAndCheck(testname);
    }
    
    @Test
    public void positive_repeat() throws Exception {
        String testname = "repeat";
        parseAndCheck(testname);
    }
}
